package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TResources;
import com.ruoyi.business.vo.TResourcesVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 学习资源Mapper接口
 *
 * @author Tellsea
 * @date 2023-02-17
 */
public interface TResourcesMapper extends BaseMapper<TResources> {

    Page<TResourcesVo> queryList(Page<?> page, @Param("entity") TResourcesVo entity);

    List<TResourcesVo> queryList(@Param("entity") TResourcesVo entity);

    TResourcesVo queryById(@Param("id") Long id);

}
